package cn.com.system.service.impl;

import cn.com.system.mapper.RoleMapper;
import cn.com.system.pojo.Role;
import cn.com.system.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (Role)表服务实现类
 *
 * @author makejava
 * @since 2021-04-06 20:06:45
 */
@Service("roleService")
public class RoleServiceImpl implements RoleService {
    @Resource
    private RoleMapper roleMapper;

    @Override
    public Role selectAll(String r_Role, String r_Pass) {
        return roleMapper.selectAll(r_Role, r_Pass);
    }

    @Override
    public List<Role> getRoleList() {
        return roleMapper.getRoleList();
    }


}
